import request from '@/utils/system/request'

// 保存笔记
export function saveByUser(data: object) {
	return request({
		url: '/article/draft/user',
		method: 'post',
		data
	})
}

// 获取用所有笔记
export function listByUser(data: object) {
	return request({
		url: '/article/draft/userlist',
		method: 'post',
		data
	})
}
